package com.xiaomei.manager.service;

import java.util.List;

import com.xiaomei.manager.model.Advertisement;
import com.xiaomei.manager.model.Extension;
import com.xiaomei.manager.web.dto.ExtensionDto;
import com.xiaomei.manager.web.page.Page;

public interface IExtensionService {

	/**
     * 返回发放现金劵列表
     * @param page
     * @return
     */
     List<Extension> selectByParamMap(ExtensionDto dto, Page<Extension> page);
     
     /**
      * 新增
      * @param page
      * @return
      */
     public boolean createExtension (Extension extension);
     
     public Extension findOne(Integer id);
     boolean updateExtension(Extension extension);
     boolean deleteExtension(Integer id);
     
}
